package com.wy.system.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.wy.model.entity.Teacher;
import com.wy.model.vo.TeacherQueryVo;
import com.wy.system.mapper.TeacherMapper;
import com.wy.system.service.TeacherService;
import org.springframework.stereotype.Service;

@Service
public class TeacherServiceImpl extends ServiceImpl<TeacherMapper, Teacher> implements TeacherService {
  @Override
  public IPage<Teacher> selectPage(Page<Teacher> pageParam, TeacherQueryVo teacherQueryVo) {
    IPage<Teacher> pageModel = baseMapper.selectPage(pageParam, teacherQueryVo);
    return pageModel;
  }
}
